package com.cold.legendary.bprocess.common.exception;

/**
 * @author cold
 * @since 2023/3/10
 */
public class BProcessInterruptException extends RuntimeException{
    private String code;
    private String msg;

    public BProcessInterruptException() {
        super();
    }

    public BProcessInterruptException(String code , String msg) {
        super(msg);
        this.code = code;
        this.msg = msg;
    }

    public BProcessInterruptException(String msg) {
        super(msg);
        this.msg = msg;
    }

    public BProcessInterruptException(String msg, Throwable e) {
        super(msg, e);
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
